<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script>
	$(document).ready(function(){
		$("button").click(function(){
			$("#div1").fadeTo("slow",0.15);
			$("#div2").fadeTo("slow",0.4);
			$("#div3").fadeTo("slow",0.7);
		});
	});
</script>
</head>
<body>
<p>Demonstrate fadeTo() with different parameters.</p>
<button>FadeTo</button>
<br><br>
	<div id="div1" style="width:80px; height:80px; background-color:red;"></div><br>
	<div id="div2" style="width:80px; height:80px; background-color:green;"></div><br>
	<div id="div3" style="width:80px; height:80px; background-color:blue;"></div><br>
</body>
</html>